REM Update the path to reflect your system needs
SET HP_BUILD_PATH=c:\hydroplatform\test
REM checks if bbfreeze is installed
%HP_BUILD_PATH%\Python25\Scripts\easy_install bbfreeze
REM appends Thuban on the PYTHONPATH
SET PYTHONPATH=%HP_BUILD_PATH%\thuban;%HP_BUILD_PATH%\thuban\Lib;%HP_BUILD_PATH%\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx
REM updates the PATH
SET PATH=%HP_BUILD_PATH%\gdalwin32-1.5\bin;%HP_BUILD_PATH%\Python25;%HP_BUILD_PATH%\Python25\DLLs;%HP_BUILD_PATH%\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx;c:\windows\system32
REM starts the freezing
%HP_BUILD_PATH%\Python25\python.exe freeze_hp.py 
REM copy missing DLL file
COPY ..\test\Python25\DLLs\geos.dll .\hydroplatform-1.0
REM xcopy /s .\test\thuban\Resources\ .\hydroplatform-1.0\Resources
MKDIR .\hydroplatform-1.0\Resources
COPY .\resources\*.* .\hydroplatform-1.0\Resources
echo 'Done. Now copy the resources directory from the Python25\DLLs directory into the target +' 